package com.ych.modules.common.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.ych.modules.api.authorInfc.user.entity.ModifyUserPayPasswordEntity;
import com.ych.modules.base.dbEntity.TUserInfoEntity;
import com.ych.modules.common.entity.modify.ModifyUserPwdEntity;
import com.ych.modules.common.entity.query.QueryUserInfoEntity;

import java.math.BigDecimal;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2020/12/31
 * Time: 14:29
 * Description:
 */
public interface UserInfoService {
    Page<TUserInfoEntity> listUserInfo(QueryUserInfoEntity entity);

    TUserInfoEntity getUserInfo(String userId);

    void modifyPwd(ModifyUserPwdEntity entity);

    void resetPwd(String userId);

    void logout(String userId);

    void cmsUpdate(TUserInfoEntity user);

    TUserInfoEntity queryByUserId(String userId);

    void apiUpdate(TUserInfoEntity userInfoEntity);

    Page<TUserInfoEntity> listUserTeam(QueryUserInfoEntity entity);

    void transformGoldCoinToBrokerage(String userId, BigDecimal amount);

    void addPayPassword(ModifyUserPayPasswordEntity payPassword);
}
